Repository navigation
Conversation
…plified layout Description: All pages are loading a large amount of JavaScript that is not always used. - Context There is about 2000ms of JavaScript execution. This includes non-used libraries like monaco. - Acceptance criteria Have a simplified layout that loads the minimum assets. Allow some pages to be refactored to use this simplified layout. Related tickets: https://processmaker.atlassian.net/browse/FOUR-32127
…can be cached into redis, images
Introduce LayoutAssetManager with route-based profiles so layout.blade.php loads lightweight bundles on inbox/tasks. Lazy-load Process and DashboardViewer in tasks/router.js to defer heavy JS until navigation.
…e.g. lightweight inbox vs full default). Keeps asset loading declarative and extensible;
feat(FOUR-32025): Review performance: DB access and queries in login can be cached into redis, images
FOUR-32127 LAYOUT Javascript base is very large >> Idea: Create a sim…
PR SummaryMedium Risk Overview Inbox routing now lazy-loads process and dashboard views, uses a lightweight placeholder on the default inbox route, and parses dashboard session data more safely. Branding helpers in Remaining diff is mostly formatting (console command, migrations, microservice cache) and test import cleanup. Reviewed by Cursor Bugbot for commit a11a879. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want fixes drafted automatically? Bugbot Autofix can create code changes for findings. A team admin can enable Autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit a11a879. Configure here.
| <script src="{{ mix('builds/login/js/app-login.js') }}"></script> | ||
| <script src="{{ mix('builds/login/js/manifest.js') }}" defer></script> | ||
| <script src="{{ mix('builds/login/js/vendor.js') }}" defer></script> | ||
| <script src="{{ mix('builds/login/js/app-login.js') }}" defer></script> |
There was a problem hiding this comment.
Login defer wipes package list
High Severity
Mix login bundles manifest.js, vendor.js, and app-login.js now load with defer, and ProcessMaker.packages is assigned only inside a DOMContentLoaded listener. app-login.js replaces window.ProcessMaker with packages: [] during the deferred phase, so deferred GlobalScripts and app-bootstrapped handlers still observe an empty package list.
Additional Locations (1)
Triggered by learned rule: Login bundles must not wipe ProcessMaker.packages
Reviewed by Cursor Bugbot for commit a11a879. Configure here.
| Vue.component("Breadcrumbs", Breadcrumbs); | ||
| Vue.component("TimelineItem", TimelineItem); | ||
| Vue.component("Required", Required); | ||
| Vue.component("Welcome", WelcomeModal); |
There was a problem hiding this comment.
Core layout omits file components
Medium Severity
app-layout-core.js is the inbox profile stand-in for app-layout.js but never registers global FileUpload, FileDownload, or RequiredCheckbox. Any Mix layouts.layout page that resolves the inbox profile therefore mounts without those screen-builder components, so file controls on request/start screens and dashboards fail to render.
Reviewed by Cursor Bugbot for commit a11a879. Configure here.
|
QA server K8S was successfully deployed https://tenant-1.ci-f95c9add9d.engk8s.processmaker.net |







Phase 4: Platform Performance Tentpole Project
Related Tickets & Packages
Code Review Checklist
ci:deploy